finding the volume of solid